package service.impl;

import dao.deptDao;
import dao.impl.UserDaoImpl;
import pojo.User;
import service.DeptService;

import java.util.List;

public class deptServiceImpl implements DeptService {

    deptDao userDao = new UserDaoImpl();

    @Override
    public List<User> findAll() {

        List<User> users = userDao.findAll();
        return users;
    }



}
